package com.cloudm.technician.ui.modules.cloudm_box.install_check

import com.cloudm.technician.data.model.DeviceInfo
import com.cloudm.technician.ui.base.BasePresenter
import com.cloudm.technician.ui.base.BaseView

/**
 * 作者: wesley
 * 时间: 2017/12/25
 * 描述: 协议接口
 */
interface InstallCheckContract {

    interface View : BaseView {

        fun showSnEmpMsg()

        fun showSnFormatErrMsg()

        fun showDeviceInfoEmpMsg()

        fun scanSuccess(info: DeviceInfo, newSn: String)
    }

    interface Presenter : BasePresenter {

        fun dealWithScanResult(value: String?, info: DeviceInfo?)
    }
}